var app = angular.module('Article',['ngRoute']);
app.config(['$routeProvider', function($routeProvider){
	$routeProvider
	.when('/article/java',{
    	  templateUrl: 'content/java'
      })
      .when('/article/content/:articleId',{
		templateUrl: 'article/content',
		controller: 'ArticleController'
	})
	.when('/article/cpp',{
		templateUrl: 'content/cpp',
	})
	.when('/article/csharp',{
		templateUrl: 'content/csh',
	})
	.when('/article/python',{
		templateUrl: 'content/python',
	})
	.when('/article/ruby',{
		templateUrl: 'content/ruby',
	})
	.when('/article/javascript',{
		templateUrl: 'content/javascript',
	})
	.when('/article/css',{
		templateUrl: 'content/css',
	});
}]);